//
// ���ļ����� JavaTM Architecture for XML Binding (JAXB) ����ʵ�� v2.2.8-b130911.1802 ���ɵ�
// ����� <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
// �����±���Դģʽʱ, �Դ��ļ��������޸Ķ�����ʧ��
// ����ʱ��: 2018.04.04 ʱ�� 06:00:02 PM CST 
//


package com.youhome.entity;

import javax.xml.bind.annotation.*;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * <p>Email complex type�� Java �ࡣ
 * 
 * <p>����ģʽƬ��ָ�������ڴ����е�Ԥ�����ݡ�
 * 
 * <pre>
 * &lt;complexType name="Email">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="preference-order" type="{http://rets.org/xsd/RETSCommons}preferenceOrderType"/>
 *         &lt;element name="email-preference-order" type="{http://rets.org/xsd/RETSCommons}preferenceOrderType"/>
 *         &lt;element name="EmailAddress" type="{http://rets.org/xsd/RETSCommons}EmailAddress"/>
 *       &lt;/sequence>
 *       &lt;attribute ref="{http://rets.org/xsd/RETSCommons}privacyType"/>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Email", propOrder = {
    "preferenceOrder",
    "emailPreferenceOrder",
    "emailAddress"
})
public class Email {

    @XmlElement(name = "preference-order")
    @XmlSchemaType(name = "nonNegativeInteger")
    protected int preferenceOrder;
    @XmlElement(name = "email-preference-order")
    @XmlSchemaType(name = "nonNegativeInteger")
    protected int emailPreferenceOrder;
    @XmlElement(name = "EmailAddress", required = true)
    protected EmailAddress emailAddress;
    @XmlAttribute(name = "privacyType", namespace = "http://rets.org/xsd/RETSCommons")
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    protected String privacyType;

    /**
     * ��ȡpreferenceOrder���Ե�ֵ��
     * 
     */
    public int getPreferenceOrder() {
        return preferenceOrder;
    }

    /**
     * ����preferenceOrder���Ե�ֵ��
     * 
     */
    public void setPreferenceOrder(int value) {
        this.preferenceOrder = value;
    }

    /**
     * ��ȡemailPreferenceOrder���Ե�ֵ��
     * 
     */
    public int getEmailPreferenceOrder() {
        return emailPreferenceOrder;
    }

    /**
     * ����emailPreferenceOrder���Ե�ֵ��
     * 
     */
    public void setEmailPreferenceOrder(int value) {
        this.emailPreferenceOrder = value;
    }

    /**
     * ��ȡemailAddress���Ե�ֵ��
     * 
     * @return
     *     possible object is
     *     {@link EmailAddress }
     *     
     */
    public EmailAddress getEmailAddress() {
        return emailAddress;
    }

    /**
     * ����emailAddress���Ե�ֵ��
     * 
     * @param value
     *     allowed object is
     *     {@link EmailAddress }
     *     
     */
    public void setEmailAddress(EmailAddress value) {
        this.emailAddress = value;
    }

    /**
     * 
     * 					Provide a level of privacy for this phone number. 
     * 				
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getPrivacyType() {
        return privacyType;
    }

    /**
     * ����privacyType���Ե�ֵ��
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setPrivacyType(String value) {
        this.privacyType = value;
    }

}
